package com.xzwk.subject.infra.basic.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * 多选题信息表(SubjectMultiple)表实体类
 *
 * @author makejava
 * @since 2024-03-14 20:24:32
 */
@SuppressWarnings("serial")
public class SubjectMultiple extends Model<SubjectMultiple> {

  //主键
  private Long id;
  //题目id
  private Long subjectId;
  //选项类型
  private Long optionType;
  //选项内容
  private String optionContent;
  //是否正确
  private Integer isCorrect;
  //创建人
  private String createdBy;
  //创建时间
  private Date createdTime;
  //更新人
  private String updateBy;
  //更新时间
  private Date updateTime;

  private Integer isDeleted;


  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getSubjectId() {
    return subjectId;
  }

  public void setSubjectId(Long subjectId) {
    this.subjectId = subjectId;
  }

  public Long getOptionType() {
    return optionType;
  }

  public void setOptionType(Long optionType) {
    this.optionType = optionType;
  }

  public String getOptionContent() {
    return optionContent;
  }

  public void setOptionContent(String optionContent) {
    this.optionContent = optionContent;
  }

  public Integer getIsCorrect() {
    return isCorrect;
  }

  public void setIsCorrect(Integer isCorrect) {
    this.isCorrect = isCorrect;
  }

  public String getCreatedBy() {
    return createdBy;
  }

  public void setCreatedBy(String createdBy) {
    this.createdBy = createdBy;
  }

  public Date getCreatedTime() {
    return createdTime;
  }

  public void setCreatedTime(Date createdTime) {
    this.createdTime = createdTime;
  }

  public String getUpdateBy() {
    return updateBy;
  }

  public void setUpdateBy(String updateBy) {
    this.updateBy = updateBy;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public Integer getIsDeleted() {
    return isDeleted;
  }

  public void setIsDeleted(Integer isDeleted) {
    this.isDeleted = isDeleted;
  }

  /**
   * 获取主键值
   *
   * @return 主键值
   */
  @Override
  protected Serializable pkVal() {
    return this.id;
  }
}

